export default {
  height:'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  column: [
    {
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "商品id",
      prop: "goodsId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "订单编号",
      prop: "orderNum",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      search: true,
    },
    {
      label: "订单总价",
      prop: "totalPrice",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "运费",
      prop: "orderFreight",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "实付款",
      prop: "realityPrice",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "下单时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
      search: true,
    },
    {
      label: "修改人",
      prop: "updateUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "订单状态",
      prop: "status",
      type: "select",
      dicUrl: "/blade-system/dict/dictionary?code=order_status",
      dataType: "number",
      props: {
        label: "dictValue",
        value: "dictKey"
      },
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      search: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "付款时间",
      prop: "paymentTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "发货时间",
      prop: "sendTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "快递名称",
      prop: "logisticsCode",
      type: "select",
      dicUrl: "/blade-logisticsDic/logisticsDic/dic",
      dataType: "select",
      props: {
        label: "name",
        value: "code"
      },
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "快递名称",
      prop: "logisticsName",
      type: "select",
      dicUrl: "/blade-logisticsDic/logisticsDic/dic",
      dataType: "select",
      props: {
        label: "name",
        value: "code"
      },
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide:true
    },
    {
      label: "快递单号",
      prop: "logisticsNum",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
  ]
}
